<!--{subtemplate jameson_read:qidian/read_header}-->
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
<div class="uk-grid-collapse" uk-grid>
	<div class="uk-width-medium">
		<div class="uk-padding-small back-box">
			{if $_G['jameson_read']['shuxinglist']}
				<h3 class="title_2 xs3">{lang jameson_read:tuijianbiaoqian}</h3>
				<div class="">
					{loop $_G['jameson_read']['shuxinglist'] $tag}
						<a href="./plugin.php?id=jameson_read&contrl=index&act=tag&tag={$tag}" class="uk-badge">{$tag}</a>
					{/loop}
				</div>
			{/if}
			{if $adv[0]['adv']}
			<div class="cl" style="width: auto;margin:auto;overflow: hidden;">
				{eval echo stripcslashes($adv[0]['adv']);}
			</div>
			{/if}
			<ul uk-tab>
			    <li><a href="javascript:;">{lang jameson_read:yuedubang}</a></li>
			    <li><a href="javascript:;">{lang jameson_read:xinshushangjia}</a></li>
			</ul>
			<ul class="uk-switcher uk-margin-remove uk-padding-remove">
				<li>
					<ul class="uk-margin-remove uk-padding-remove gonggao">
						{loop $paihangbang['yuedu'] $key $book}
						{if $key < 12}
							<li class="cl">
								<a class="channel xg1" href="{eval echo jamesonurl('category',$book['category_id'])}">
									<span>[</span>{$book['category_name']}<span>]</span>
								</a>
								<a class="name" href="{eval echo jamesonurl('book',$book['book_id']);}" >{$book['book_name']}</a>
							</li>
						{/if}
						{/loop}
					</ul>
				</li>
				<li>
					<ul class="uk-margin-remove uk-padding-remove gonggao">
						{loop $paihangbang['zuixin'] $key $book}
						{if $key < 12}
							<li class="cl">
								<a class="channel xg1" href="{eval echo jamesonurl('category',$book['category_id'])}">
									<span>[</span>{$book['category_name']}<span>]</span>
								</a>
								<a class="name" href="{eval echo jamesonurl('book',$book['book_id']);}" >{$book['book_name']}</a>
							</li>
						{/if}
						{/loop}
					</ul>
				</li>
			</ul>
			{if $adv[1]['adv']}
			<div class="cl" style="width: auto;margin:auto;overflow: hidden;">
				{eval echo stripcslashes($adv[1]['adv']);}
			</div>
			{/if}
		</div>
	</div>
	<div class="uk-width-expand">
		<div class="uk-padding back-box uk-margin-left">
			<h4 class="uk-heading-divider">
			{if $keyword}
				{lang jameson_read:zhaodao} 

				({lang jameson_read:shuming} | 
				{lang jameson_read:zuozhe}  |
				{lang jameson_read:biaoqian})

				{lang jameson_read:baohan} 
				<strong class="uk-text-danger"> {$keyword} </strong> 
				{lang jameson_read:dejilu} 
				<strong class="uk-text-danger">{$counts}</strong>
				{lang jameson_read:tiao}
			{else}
				{lang jameson_read:cainixihuan}
			{/if}
			</h4>
			{if ($keyword && $books) || !$keyword}
			<div class="uk-grid-collapse uk-child-width-1-2 shaixuanbooklist zqy_1" uk-grid>
				{loop $books $key $book}
					<div class="cl uk-margin-top">
						<div class="book-img z">
		                    <a href="{eval echo jamesonurl('book',$book['book_id']);}">
		                        <img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}">
		                    </a>
		                </div>
		                <div class="book-info">
                            <h4><a href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a></h4>
                            <a class="xg1 xs1 xw0" href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$book['author']}">{$book['author']}</a>
                            <div class="tag512">
                                 <a class="org" href="{eval echo jamesonurl('shaixuan','shaixuan','category_id',$book['category_id']);}">{$book['category_name']}</a>
                                <span class="green">{if $book['plan']}{lang jameson_read:yiwanjie}{else}{lang jameson_read:lianzaizhong}{/if}</span>
                                {if $book['shuxing']}
                                <span class="blue">{$book['shuxing']}</span>
                                {/if}
                            </div>
                            <p class="desco">
                                   {$book['desc']}
                            </p>
                        </div>
					</div>
				{/loop}
			</div>
			{else}
				<div class="uk-alert-danger uk-padding" uk-alert>{lang jameson_read:zanwujilu}</div>
			{/if}
		</div>
		{if $books}
		<div class="uk-margin-top cl ">{$pageshow}</div>
		{/if}
	</div>
</div>
<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
<!--{subtemplate jameson_read:qidian/read_footer}-->